/******************************************************************************
 * Copyright (C) 2017 Chengdu Dlhd information industry co. LTD.
 * All Rights Reserved.
 * 本软件为成都顶联互动信息产业有限公司开发研制。未经本公司正式书面同意，其他任何个人、团体不得使用、复制、修改或发布本软件.
 *****************************************************************************/
package net.dgg.dggcloud.service.jrcrm.constant;

/**
 * @ClassName: CommonKey
 * @Description: 公共key
 * @Author 汤宏
 * @date 2017/11/7 17:30
 */

public class CommonConstant {
    //字典key，用于缓存
    public static final String TREEBOOK_KEY = "tree_book_key:";
    public static final String TREEBOOK_LIST_KEY = "treebook_list_key:";
    public static final String ORGANIZATION_KEY = "organization_redis_key:";

    //缓存分类编码下级第一级分类（用于Select选择）
    public static final String TREEBOOK_CHLID_1 = "tree_book_child_1:";
    //缓存分类编码所有下级分类（用于Tree选择无父级的）
    public static final String TREEBOOK_CHLID_2 = "tree_book_child_2:";
    //缓存分类编码所有下级分类包含自己（用于Tree选择有父级的）
    public static final String TREEBOOK_CHLID_3 = "tree_book_child_3:";

    // webscoketUserSession
    public static final String WEBSOCKET_USER_SESSION = "webscoket:userSession";
    // userLoginName
    public static final String WEBSOCKET_USER_LOGINNAME = "webscoket:userLoginName";
    // userName
    public static final String WEBSOCKET_USER_NAME = "webscoket:userName";
    // 在线用户
    public static final String ONLINE_USER = "online_user";
    // 在线用户名
    public static final String ONLINE_USER_NAME = "online_user_name";
    //消息推送频道
    public static final String PUSH_MESSAGE_CHANNEL = "PUSH_MESSAGE_CHANNEL";
    //商务今日已分配数量key
    public static final String USER_TODAY_ALLOT_KEY = "USER_TODAY_ALLOT:";

}
